﻿namespace KinonekoSoftware.Foundation.UI.Controls.Charts
{
    public class ChartAxis : ObservableObject
    {
        private string _name;
        private string _color;
        private Point  _point;

        /// <summary>
        /// 获取或设置 <see cref="Point"/> 属性。
        /// </summary>
        public Point Point
        {
            get => _point;
            set => SetValue(ref _point, value);
        }
        
        /// <summary>
        /// 获取或设置 <see cref="Color"/> 属性。
        /// </summary>
        public string Color
        {
            get => _color;
            set => SetValue(ref _color, value);
        }
        
        /// <summary>
        /// 获取或设置 <see cref="Name"/> 属性。
        /// </summary>
        public string Name
        {
            get => _name;
            set => SetValue(ref _name, value);
        }
    }
}